import { S } from '../../s';
import { IPSAppDEReport } from '../../app/dataentity/ipsapp-dereport';
import { IPSAppDEReportItem } from '../../app/dataentity/ipsapp-dereport-item';
import { PSModelObjectImpl } from '../../psmodel-object-impl';

export class PSDEReportItemImpl
  extends PSModelObjectImpl
  implements IPSAppDEReportItem
{
  protected minorpsappdereport: IPSAppDEReport;
  getMinorPSAppDEReport(): IPSAppDEReport | null {
    return (
      this.minorpsappdereport ||
      (this.minorpsappdereport = this.fillObjectModel(
        S._3ee,
        this.M.getMinorPSAppDEReport,
        S._3ef,
      ) as IPSAppDEReport)
    );
  }
  get cls(): string {
    return 'PSDEReportItemImpl';
  }
  instanceof(cls: string): boolean {
    if (cls == S._3f0) return true;
    return super.instanceof(cls);
  }
}
